package com.frame.mapper;

import com.frame.domain.Activiti;
import com.frame.domain.SysDictData;
import com.frame.domain.SysUser;
import com.frame.domain.SysUserLeaves;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【sys_activiti】的数据库操作Mapper
* @createDate 2024-08-29 14:02:52
* @Entity com.frame.domain.Activiti
*/
@Mapper
public interface ActivitiMapper{

    void save(Activiti activiti);

    Activiti getById(String businessKey);

    void updateById(Activiti byId);

    List<SysUser> getLeads();

    List<SysUser> getManager();

    List<SysUser> getPresident();

    Activiti selectActivitiById(Integer id);

    List<SysUserLeaves> myCompletion(@Param("userName") String userName, @Param("status") String status);

    List<SysDictData> getActivitiType();

    void UpdateTaskId(Activiti byId);

    void UpdateTaskId1(String taskId);
}




